package site.licoded.cm.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import site.licoded.cm.resp.Response;
import site.licoded.cm.resp.SuccessResponse;

@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/test")
    Response test(){
        return new SuccessResponse("test");
    }
    @RequestMapping("/test1")
    Response test1(){
        Integer x = 1/0;
        return new SuccessResponse("test");
    }
}
